import pytest

from interface_item.api.user_group import UserGroup
from interface_item.utils.logger import logger

group = UserGroup()

@pytest.fixture(scope="function")
def delete_group(group_id):
    # 创建用户组之前需要先删除已有的数据，防止新增时冲突
    res = group.delete_group(group_id)
    logger.debug(f"删除结果：{res}")

